home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 #2 / K-CD-2-2004.ISO / OpenOffice Sv / f_0397 / python-core-2.2.2 / lib / test / test_winsound.py < prev    next >
Encoding:
Text File  |  2003-07-18  |  202 b   |  7 lines

  1. # Ridiculously simple test of the winsound module for Windows.
  2.  
  3. import winsound
  4. for i in range(100, 2000, 100):
  5.     winsound.Beep(i, 75)
  6. print "Hopefully you heard some sounds increasing in frequency!"
  7.